import request from '@/utils/request'

export function paramlist(data) {
  return request({
    url: '/paramlist',
    method: 'post',
    params: data
  })
}

export function paramDetail(data) {
  return request({
    url: '/paramdetail',
    method: 'post',
    params: data
  })
}

export function createparam(data) {
  return request({
    url: '/paramadd',
    method: 'post',
    data
  })
}

export function updateparam(data) {
  return request({
    url: '/paramupdate',
    method: 'post',
    data
  })
}
